<template>
	<view>
		    <web-view  :src="description"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				description:''
			}
		},
		methods: {
			
		},
		onLoad(options) {
			let params = options.params
			let arr = decodeURIComponent(params).split('&')
			console.log(arr)
			let description
			for (var i = 0; i < arr.length; i++) {
			    let key = arr[i].split("=")[0];
			    if (key == 'info') {
			        this.description = arr[i].split("=")[1];
					console.log(this.description)
			    }
			}
		}
		
	}
</script>

<style>

</style>
